Skip to content

fix: integration test cases#671

Merged
akshaydeo merged 2 commits into
mainfrom
10-23-fix_integration_test_cases
Nov 25, 2025
Merged

fix: integration test cases#671
akshaydeo merged 2 commits into
mainfrom
10-23-fix_integration_test_cases

Conversation

@TejasGhatte
Copy link
Copy Markdown
Collaborator

@TejasGhatte TejasGhatte commented Oct 23, 2025

Summary

Increased API timeout values and added model listing tests for Anthropic, Google, and OpenAI integrations.

Changes

  • Increased default timeout from 30 to 120 seconds in Anthropic and OpenAI client configurations
  • Updated timeout values in streaming content collection functions from 30 to 120 seconds
  • Added null check for Anthropic response content before checking its length
  • Added new test cases to verify model listing functionality for all three providers:
    • test_14_list_models for Anthropic
    • test_15_list_models for Google
    • test_31_list_models for OpenAI

Type of change

  • Bug fix
  • Feature
  • Refactor
  • Documentation
  • Chore/CI

Affected areas

  • Core (Go)
  • Transports (HTTP)
  • Providers/Integrations
  • Plugins
  • UI (Next.js)
  • Docs

How to test

Run the integration tests for the affected providers:

# Run Anthropic integration tests
pytest tests/integrations/tests/integrations/test_anthropic.py -v

# Run Google integration tests
pytest tests/integrations/tests/integrations/test_google.py -v

# Run OpenAI integration tests
pytest tests/integrations/tests/integrations/test_openai.py -v

Breaking changes

  • Yes
  • No

Related issues

Addresses timeout issues with API calls and adds test coverage for model listing functionality.

Security considerations

No security implications.

Checklist

  • I added/updated tests where appropriate
  • I verified the CI pipeline passes locally if applicable

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants